# Copyright (C) 2006 Brian Davis

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

"""
Contains metadata related to a given revision. 
"""

def __init__(self):
    """
    Initialize an instance of the Revision class.
    """

    __revision__ = ""
    __committer__  = ""
    __timestamp__ = ""
    __message__ = ""
    __files_affected__ = []
    __lines_affected__ = 0

def get_revision(self): 
    print "get_revision() called."
    return self.__revision

def get_committer(self): 
    print "get_committer() called."
    return self.__committer

def get_timestamp(self): 
    print "get_timestamp() called."
    return self.__timestamp

def get_message(self): 
    print "get_message() called."
    return self.__message

def get_files_affected(self): 
    print "get_files_affected() called."
    return self.__files_affected

def get_lines_affected(self): 
    print "get_lines_affected() called."
    return self.__lines_affected
